Stores one or several data or memory traces to a file or loads a memory trace from a file. Import or export is selected from a submenu:

Import Complex Data... calls up an Open File dialog to load a memory trace from a trace file.
Export Complex Data... calls up a Save As... dialog to store data or memory traces to a trace file.
Export Formatted Data... calls up a Save As... dialog to store data or memory traces with their current trace format to a trace file.
Calls up a dialog to load a memory trace from a trace file. Trace files are ASCII files with selectable file format.

The loaded trace data is used to generate a memory trace which is coupled to the active data trace. Import Data corresponds to a standard Open File dialog with an additional checkbox:
Import Data to New Mem qualifies whether the loaded data overwrite the active memory trace (box unchecked, analogous to Data -> Mem) or whether they are used to generate a new memory trace (box checked, analogous to Data -> New Mem).
Trace
file import and import conditions
On loading data from a trace file, the analyzer displays a list box to select one of the traces stored in the file. The example below shows a Touchstone (*.s2p) file, containing all four 2-port S-parameters; see Trace File Formats.

Coupling between the imported memory trace and the active data trace implies that the stimulus values of the imported data and of the active trace must be compatible. Compatibility means that the Sweep Type of the two traces must match; the position and number of the sweep points do not have to be the same.
The analyzer checks for compatibility before importing data. The Select Parameter box remains empty if the selected files contains no compatible data.
When a *.s1p file is opened the Select
Parameter box indicates the 1-port (reflection) parameter S11,
irrespective of the actual S-parameter stored in the file.
To import a
trace file (*.snp or *.csv) you can also use the Windows Explorer and
simply double-click the file or drag and drop the file into the NWA application.
The imported data generates a memory trace which is coupled to the active
data trace.
|
Remote control: |
Calls up a dialog to store data or memory traces to a trace file. Trace files are ASCII files with selectable file format. Data export can serve many purposes, e.g.:
To process and evaluate measurement data in an external application.
To store measurement data and re-import it in a future measurement session.

Export Complex Data corresponds to a standard Save As... dialog with an additional panel to specify the export Options. The export options are remembered when the dialog is closed. The Dec. Separator export option is not available for Matlab (*.dat) file export. Touchstone files *.s<n>p contain either a single trace (*.s1p) or the complete set of S-parameters of an n-port and use the point as Dec. Separator; see Trace File Formats.
Selecting
an appropriate file format
Use a Touchstone file format to export a fixed number of S-parameter data traces to a file that can be evaluated with applications such as Agilent's Microwave Design System (MDS) and Advanced Design System (ADS). The data must be acquired in a frequency sweep.
*.s1p files are intended for a 1-port S-parameter (the reflection coefficient S11) but can be used as well to store any single S-parameter. Note that any S-parameter will be labeled S11 in the file and in the Select Parameter box.
*.s<n>p files (<n> = 2, 3,, 4) are intended for a complete set of <n>-port S-parameters. Data export fails if the active channel does not contain the full set of <n>2 traces.
Use the ASCII (*.csv) format if you want to do one of the following:
Import the created file into a spreadsheet application such as Microsoft Excel.
Export an arbitrary number of traces, multiple traces with the same parameter or memory traces.
Export traces acquired in a power sweep or CW sweep.
Use export options.
Use a the Matlab (*.dat) format if you want to import and process the trace data in Matlab.
For more information see Trace File Formats.
|
Remote control: |
MMEMory:STORe:TRACe "<trc_name>","<file_name>"[,UNFormatted] |
Calls up a dialog to store data or memory traces with their current trace format to a trace file using a *.csv or *.dat file format. Only the displayed values of the trace (e.g. the logarithmic magnitude, if trace format dB Mag is selected) are exported. Therefore the trace file doesn't necessarily contain the full (complex) information about the trace.
The exported formatted values correspond to
the results in the marker
info field.
For trace formats involving Cartesian diagrams (dB
Mag, Real, Imag...), the stimulus value and a single real response
value is exported. For circular diagrams, both the real and imaginary
part of the response value is exported.
An exported formatted trace can be processed and evaluated in an external application. Re-import into the analyzer is only possible if the complex trace values are available.

Export Complex Data corresponds to a standard Save As... dialog with an additional panel to specify the export Options. The Dec. Separator export option is not available for Matlab (*.dat) file export. Touchstone files *.s<n>p contain either a single trace (*.s1p) or the complete set of S-parameters of an n-port and use the point as Dec. Separator; see Trace File Formats; they are only available if complex trace values are exported (trace formats Polar, Smith, Inverted Smith). The following output options also depend on the trace format.
Selecting
an appropriate file format
Use a Touchstone file format to export a fixed number of S-parameter data traces to a file that can be evaluated with applications such as Agilent's Microwave Design System (MDS) and Advanced Design System (ADS). The data must be acquired in a frequency sweep.
*.s1p files are intended for a 1-port S-parameter (the reflection coefficient S11) but can be used as well to store any single S-parameter. Note that any S-parameter will be labeled S11 in the file and in the Select Parameter box.
*.s<n>p files (<n> = 2, 3,, 4) are intended for a complete set of <n>-port S-parameters. Data export fails if the active channel does not contain the full set of <n>2 traces.
Use the ASCII (*.csv) format if you want to do one of the following:
Import the created file into a spreadsheet application such as Microsoft Excel.
Export an arbitrary number of traces, multiple traces with the same parameter or memory traces.
Export traces acquired in a power sweep or CW sweep.
Use export options.
Use a the Matlab (*.dat) format if you want to import and process the trace data in Matlab.
For more information see Trace File Formats.
|
Remote control: |
Trace files are ASCII files with selectable file format. The analyzer provides two classes of trace files:
The trace file formats complement each other; see Selecting an appropriate file format.
All Touchstone files contain a header, a comment section, and the actual trace data:
# HZ S RI R 50.0000
! Rohde & Schwarz ZVA
! Measurement: S11
! 2003-07-07
!
60297750.000000 0.498113 -0.054290
80297000.000000 0.504888 -0.081229
...
The header consists of the following data elements:
Comment lines start with the exclamation mark (!) and may contain any text used for documentation of the trace data file. Any number of comment lines may be inserted before or after the header line.
The trace data depend on the number of ports <n> and the data format. For real and imaginary values (data format = RI) the trace data for each stimulus frequency are arranged as follows:
Freq Re(S11) Im(S11)
S11 can be replaced by an any S-parameter, so the *s1p format is suitable for exporting an arbitrary data trace representing an S-parameter.
Freq Re(S11) Im(S11) Re(S21) Im(S21) Re(S12) Im(S12) Re(S22) Im(S22)
(all values arranged in 1 line)
Freq Re(S11) Im(S11) Re(S12) Im(S12) Re(S13) Im(S13)
Re(S21) Im(S21) Re(S22) Im(S22) Re(S23) Im(S23)
Re(S31) Im(S31) Re(S32) Im(S32) Re(S33) Im(S33)
(values arranged in 3 lines)
Freq Re(S11) Im(S11) Re(S12) Im(S12) Re(S13) Im(S13) Re(S14) Im(S14)
Re(S21) Im(S21) Re(S22) Im(S22) Re(S23) Im(S23) Re(S24) Im(S24)
Re(S31) Im(S31) Re(S32) Im(S32) Re(S33) Im(S33) Re(S34) Im(S34)
Re(S41) Im(S41) Re(S42) Im(S42) Re(S43) Im(S43) Re(S44) Im(S44)
(values arranged in 4 lines)
The stimulus frequencies are arranged in ascending order. If a lin. Mag-Phase (MA) or dB Mag-Phase (DB) data format is selected the real and imaginary S-parameter values Re(Sij), Im(Sij) are replaced by lin Mag(Sij), phase(Sij) or dB Mag(Sij), phase(Sij), respectively.
An ASCII file contains a header and the actual trace data:
freq;reTrc1_S21;imTrc1_S21;reMem2[Trc1]_S21;imMem2[Trc1]_S21;
300000.000000;0.000000;0.000000;0.000000;0.000000;
40499497.487437;0.000000;0.000000;0.000000;0.000000;
80698994.974874;0.494927;-0.065174;0.500833;-0.074866;
120898492.462312;0.497959;-0.111724;0.488029;-0.107375;
...
The header consists of the following data elements:
The trace data is arranged as described in the header. Different values are separated by semicolons. A semicolon is also inserted before the end of each line.
The stimulus values are arranged in ascending order.
Shifts the active trace in horizontal direction, leaving the positions of all markers unchanged. The positive or negative offset value for the stimulus variable is entered into an input field. The unit depends on the sweep type.

Shift
Stimulus Value can be used in Cartesian as
well as in polar diagrams. The visible effect depends on the diagram type:
In Cartesian diagrams, the trace is shifted relative to the markers and the x-axis.
In polar diagrams, the trace is not affected, however, markers change their position.
Use a negative offset value
to reset a shifted trace to its original position.
|
Remote control: |
DISPlay:WINDow<Wnd>:TRACe<WndTr>:X:OFFset <numeric_value> |
Modifies all points of the active trace by means of an added and/or a multiplied complex constant. The constant complex values are entered in the four input fields of the Shift Response Value dialog.

The units of the constants are adjusted to the format of the active trace. Setting all values to zero (Clear All Values) restores the original trace.
The trace points are modified according to the formula displayed in the lower part of the dialog:

The formula and the different constants are adjusted to the different display formats of a trace:
The Magnitude factor shifts a dB Mag trace in vertical direction, leaving the phase of a complex parameter unchanged.
The Phase factor rotates a trace that is displayed in a polar diagram around the origin, leaving the magnitude unchanged.
The Real added constant shifts a real trace in vertical direction, leaving the imaginary part unchanged.
The Imaginary added constant shifts a imaginary trace in vertical direction, leaving the real part unchanged.
Shifting the trace by means of
constant values is a simple case of trace mathematics. Use the Define
Math
dialog to define more complicated mathematical operations.
|
Remote control: |
DISPlay:WINDow<Wnd>:TRACe<WndTr>:Y:OFFset <Magnitude>[, <Phase>, <Real>, <Imag>] |
|
Remote control: |
Enables (if selected) or disables the max hold (peak hold) function for the active trace. With enabled max hold function, the displayed trace shows the maximum values that the analyzer acquired since the start of the measurement.
The max hold process can be restarted any time using Restart Hold. It is also restarted automatically when the channel or trace settings are changed so that the previous measurement results are no longer valid.
|
Remote control: |
CALCulate<Chn>:PHOLd MAX | OFF |
Restarts the max hold (peak hold) function for the active trace, discarding the old maximum measurement results. This softkey has no effect unless Max Hold On is active.
|
Remote control: |
CALCulate<Chn>:PHOLd MAX | OFF |